<?php/** * Created by PhpStorm. * User: jingshou * Date: 2017/9/17 * Time: 23:57 */namespace app\home\model;use think\Model;use think\Session;class Config extends Model{    public function getInfo()    {//       return self::where(['language' => Session::get('language')])->order('id asc')->limit(1)->find();       return self::order('id asc')->limit(1)->find();    }}